Skip to content

Don't vendor nlohmann_json when USE_SYSTEM_DEPS is on.#324

Merged
auscaster merged 2 commits intonilstate:mainfrom
BillyONeal:json
Apr 11, 2026
Merged

Don't vendor nlohmann_json when USE_SYSTEM_DEPS is on.#324
auscaster merged 2 commits intonilstate:mainfrom
BillyONeal:json

Conversation

@BillyONeal
Copy link
Copy Markdown
Contributor

In the vcpkg repo we observe a conflict with the icey port and the nlohmann_json port:

error: The following files are already installed in D:/installed/x64-windows and are in conflict with icey:x64-windows
Installed by nlohmann-json:x64-windows: include/nlohmann/json.hpp

gpt-5.3-codex wrote this patch to not vendor nlohmann_json when USE_SYSTEM_DEPS is on. However, the fix proposed in microsoft/vcpkg#51086 also depends on deleting the file out of the repo before we build it, which presumably you might not want to do here.

@auscaster auscaster merged commit 111201c into nilstate:main Apr 11, 2026
6 of 17 checks passed
@BillyONeal BillyONeal deleted the json branch April 11, 2026 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants